package org.jeecg.modules.demo.play.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 按钮管理
 * @Author: jeecg-boot
 * @Date:   2024-07-09
 * @Version: V1.0
 */
@Data
@TableName("m_button")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="m_button对象", description="按钮管理")
public class MButton implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private java.lang.String name;
	/**关联故事*/
	@Excel(name = "关联故事", width = 15, dictTable = "m_story_info", dicText = "name", dicCode = "id")
	@Dict(dictTable = "m_story_info", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "关联故事")
    private java.lang.String storyId;
	/**流转故事*/
	@Excel(name = "流转故事", width = 15, dictTable = "m_story_info", dicText = "name", dicCode = "id")
	@Dict(dictTable = "m_story_info", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "流转故事")
    private java.lang.String nextStoryId;
	/**展示内容*/
	@Excel(name = "展示内容", width = 15)
    @ApiModelProperty(value = "展示内容")
    private java.lang.String text;
	/**颜色*/
	@Excel(name = "颜色", width = 15)
    @ApiModelProperty(value = "颜色")
    private java.lang.String color;
	/**按钮类型*/
	@Excel(name = "按钮类型", width = 15, dicCode = "m_button_type")
	@Dict(dicCode = "m_button_type")
    @ApiModelProperty(value = "按钮类型")
    private java.lang.String type;
	/**横坐标*/
	@Excel(name = "横坐标", width = 15)
    @ApiModelProperty(value = "横坐标")
    private java.lang.String axisX;
	/**纵坐标*/
	@Excel(name = "纵坐标", width = 15)
    @ApiModelProperty(value = "纵坐标")
    private java.lang.String axisY;
	/**逻辑项*/
	@Excel(name = "逻辑项", width = 15, dictTable = "m_story_info", dicText = "name", dicCode = "id")
	@Dict(dictTable = "m_story_info", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "逻辑项")
    private java.lang.String logicItem;
	/**逻辑值*/
	@Excel(name = "逻辑值", width = 15, dicCode = "valid_status")
	@Dict(dicCode = "valid_status")
    @ApiModelProperty(value = "逻辑值")
    private java.lang.String logicValue;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private java.lang.String sort;
}
